#pragma once

class nocopy
{
public:
    nocopy() {} // 基类没有默认的，子类需要显示调用
    nocopy(const nocopy &tmp) = delete;
    const nocopy &operator=(const nocopy &tmp) = delete;
};